package com.zhongnan.demo7.volatile1;

public class Xiaohong extends Thread {
    @Override
    public void run() {
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        Money.money = 0;
        System.out.println("买了个10W的包");
    }
}
